PictureBoxPlus Summary

 

 

 

 

 

 

 

 

 

 

 

 

 

Event Procedure

What it Does

ImageChanged

Raised whenever the programmer sets the Image property.  The ImageChanged event procedure will be the ideal place for the programmer to set the FilePathName property.  So that whenever the image changes the values for the Name and Size labels are updated.

 

Properties

What they Do

Image

Gives the programmer access to the Image property of the PictureBox1 control

FilePathName

Used to determine the image fileÆs name and size for display in lblName and lblSize

NameForeColor

Gives the programmer access to the ForeColor property of lblName

NameBackColor

Gives the programmer access to the BackColor property of lblName

SizeForeColor

Gives the programmer access to the ForeColor property of lblSize

SizeBackColor

Gives the programmer access to the BackColor property of lblSize

SizeMode

Gives the programmer access to the SizeMode property of the PictureBox1 control

NameVisible

Gives the programmer access to the Visible property of lblName

SizeVisible

Gives the programmer access to the Visible property of lblSize

 

Method

What it Does

Clear

Clears the Image property of the PictureBox1 control, and sets the Text property of the lblName and lblSize to an empty string.